package com.shy.mapper;

import com.shy.config.common.BaseQuery;
import com.shy.entity.Tran;

import java.util.List;

/**
* @author sunhuanyu
* @description 针对表【t_tran(交易表)】的数据库操作Mapper
* @createDate 2024-12-09 11:57:17
* @Entity com.shy.entity.Tran
*/
public interface TranMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Tran record);

    int insertSelective(Tran record);

    Tran selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Tran record);

    int updateByPrimaryKey(Tran record);

    List<Tran> queryTranPageList(BaseQuery baseQuery);

    Tran selectTranById(Integer tranId);

    int batchDeleteByIds(List<Integer> tranIds);
}
